﻿using System.ComponentModel;
using System.Runtime.Serialization;

namespace SlamDunk.ValueObjects.Enums
{
    /// <summary>
    /// 硬件连接模式
    /// </summary>
    public enum HardwareConnectionMode
    {
        /// <summary>
        /// 串口连接
        /// </summary>
        [EnumMember]
        [Description("串口连接")]
        SerialPort = 0,

        /// <summary>
        /// 网口连接
        /// </summary>
        [EnumMember]
        [Description("网口连接")]
        Network = 1,

        /// <summary>
        /// USB口连接
        /// </summary>
        [EnumMember]
        [Description("USB口连接")]
        USB = 2
    }
}